Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nav-item): add null check for child element on load #2369

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

amir-ba
Copy link
Collaborator

@amir-ba amir-ba commented Nov 21, 2024

This PR addresses an issue in the telekom-nav-item component, where an attempt to set the attribute on a child element could result in an error if the child element is null. The fix adds a null check for the child element before setting the role attribute

@amir-ba amir-ba requested a review from maomaoZH as a code owner November 21, 2024 09:55
Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for marvelous-moxie-a6e2fe ready!

Name Link
🔨 Latest commit a54d2c7
🔍 Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/673f093aa2d1cd0008367ca2
😎 Deploy Preview https://deploy-preview-2369--marvelous-moxie-a6e2fe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@amir-ba amir-ba merged commit 5fd16f1 into telekom:main Nov 21, 2024
12 checks passed
amir-ba added a commit that referenced this pull request Nov 26, 2024
* chore: update CODEOWNERS file (#2368)

* fix(nav-item): makes nav-itemcomponent respect the active=false  (#2364)

* fix(drop-down): fixes hidden input in dropdown-select with null check (#2361)

* fix(nav-item): add null check for child element before setting role to menuitem (#2369)

Co-authored-by: Amir Ashkan Baghdoust <[email protected]>

* chore(release): publish (#2372)

---------

Co-authored-by: Arturo Castillo Delgado <[email protected]>
Co-authored-by: tshimber <[email protected]>
Co-authored-by: Amir Ashkan Baghdoust <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant